package com.ydlclass;

import com.ydlclass.bean.Dog;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {


	public static void main(String[] args) {
		ApplicationContext applicationContext = new AnnotationConfigApplicationContext("com.ydlclass");
		System.out.println(applicationContext.getBean(Dog.class));
	}
}